package com.ruifu.conversions;

import com.fhzncloud.cloud.common.security.annotation.EnableCloudFeignClients;
import com.fhzncloud.cloud.common.security.annotation.EnableCloudResourceServer;
import com.github.tobato.fastdfs.FdfsClientConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Import;


//注册
@MapperScan("com.ruifu.conversions.mapper")
@SpringBootApplication
@EnableEurekaClient
@EnableCloudResourceServer(details = true)
@EnableCloudFeignClients
@SpringCloudApplication
@Import(FdfsClientConfig.class)
public class CloudConversionsApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudConversionsApplication.class, args);
    }

}
